package com.hope.onlinestudy.utils

import com.hope.onlinestudy.BuildConfig
import com.hope.onlinestudy.model.LoginModel
import com.hope.onlinestudy.model.SystemConfigModel


/**
 * @author hope.chen
 *         QQ:77132995 email:kazeik@163.com
 *         2018 11 01 11:38
 * 类说明:
 */

object ApiUtils {
    var loginModel: LoginModel? = null

    var configModel: SystemConfigModel? = null

    var userId: String? = null

    const val systemConfig = "api/getCache"

    //    获取消息
    const val toMyMsg = "/apphome/api/toMyMsg"

    //    登录
    const val login = "/apphome/api/appLogin"

    //        我的作业
    val myhomework = "/apphome/toMyWork"

    //    我的课程
    val toMyCourse = "/apphome/toMyCourse"

    //    首页
    val toAppHomePage = "/apphome/toAppHomePage"

    //    分类
    val toTypeList = "/apphome/toTypeList"

    //我的考试
//    val toAppExam = "${baseUrl}appCourse/toCourseInfo?courseId=67&starLevel="
    val toAppExam = "/apphome/toAppExam"

    //    学习计划
    val lessonplan: String = "/apphome/toMyPlan"
    val testpage: String = "/apphome/toMyTest"

    //我的笔记
    val toMyNote = "/apphome/toMyNote"

    //    个人信息
    const val toMyInfo = "/apphome/api/toMyInfo"

    //    更改密码
    const val changePass = "/apphome/toEditPassword"

    //    我的积分
    const val toMyPoint = "/apphome/api/myPoint"

    //    我的订单
    val toMyOrder = "/apphome/toMyOrder"


    const val updateInfo = "/apphome/api/updateMyInfo"
    const val delecookie = "/apphome/api/delCookie"

    const val msgalert = "/apphome/api/getReminMsg"
}